center anything horizontally and vertically in CSS

54

.center {
  display: flex;
  align-items: center;
  justify-content: center;       
}
.center {
  display: flex;
  align-items: center;
  justify-content: center;       
}

Comments

Submit
0 Comments